package org.cliff.message.platform.demo.dto;

import java.util.List;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

import lombok.Data;

@Data
@JacksonXmlRootElement(localName = "Body")
public class OrderInstructionsXmlRequest {

    @JacksonXmlElementWrapper(localName = "InputParameters")
    @JacksonXmlProperty(localName = "REQUESTDATA")
    private List<REQUESTDATA> requestDate;

    @Data
    public static class REQUESTDATA {

        @JacksonXmlProperty(localName = "MESSAGEID")
        protected String messageId;

        @JacksonXmlProperty(localName = "STATUS")
        protected String status;

        @JacksonXmlProperty(localName = "DATE_")
        protected String date;
        @JacksonXmlProperty(localName = "MESSAGE")
        protected String message;
        @JacksonXmlProperty(localName = "SOURCESYSTEM")
        protected String sourceSystem;
        @JacksonXmlProperty(localName = "SOURCEREFENCE")
        protected String sourceEfence;
        @JacksonXmlProperty(localName = "SOURCELINEID")
        protected String sourceLineId;
        @JacksonXmlProperty(localName = "IFACECODE")
        protected String ifAceCode;
        @JacksonXmlProperty(localName = "IFACEMEAN")
        protected String ifAceName;

        @JacksonXmlProperty(localName = "Attr1")
        protected String attr1;

        @JacksonXmlProperty(localName = "Attr2")
        protected String attr2;



    }


}
